home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / bit / src / curdef.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  2KB  |  64 lines

  1. /*
  2.  * $Id: curdef.h,v 0.91 1994/02/20 00:53:41 zhao Pre-Release $
  3.  *
  4.  *. This file is part of BIT shareware package. After the two weeks of
  5.  *  free evaluation period, you are encouraged (required) to register
  6.  *  your copy for a small registration fee, which is $35 for personal use
  7.  *  and $50 for commercial, government and institutional use.
  8.  *
  9.  *  Copyright(c) 1993, 1994 by T.C. Zhao.
  10.  *  All rights reserved.
  11.  *
  12.  *  Permission to use, copy, and distribute this software in its entirety
  13.  *  for non-commercial purposes is hereby granted, provided that the
  14.  *  above shareware and copyright notices and this permission notice
  15.  *  appear in all copies and their documentation.
  16.  *
  17.  *  This software may be modified for your own use, but modified versions
  18.  *  may not be distributed without prior consent of the author.
  19.  *
  20.  *  This software is provided "as is" without expressed or implied
  21.  *  warranty of any kind.
  22.  *
  23.  *.
  24.  */
  25. #ifndef CURDEFS_H_
  26. #define CURDEFS_H_
  27.  
  28. /************************************************************
  29.  * All cursor names, which also servers as the indeces into
  30.  * cursor glyph tables. Order is not important, although a serious
  31.  * of similar cursors must be consecutive.
  32.  ************************************************************/
  33.  
  34. typedef enum
  35.   {
  36.       CUR_DEFAULT, CUR_S_CROSS,
  37.       CUR_BUSY, CUR_HAND, CUR_S_FRECT,
  38.       CUR_RECT10, CUR_RECT20, CUR_RECT30,
  39.       CUR_S_DISK,
  40.       CUR_ROT1, CUR_ROT2, CUR_ROT3, CUR_ROT4,
  41.       CUR_V_LINE, CUR_H_LINE, CUR_L_LINE, CUR_R_LINE,
  42.       CUR_CIRC10, CUR_CIRC20, CUR_CIRC30, CUR_CIRCNET,
  43.       CUR_FREE1, CUR_FREE2
  44.   }
  45.  
  46. Cur_name;
  47.  
  48. /** Free index */
  49. enum
  50.   {
  51.       FREE_R_SLANT, FREE_L_SLANT
  52.   };
  53.  
  54. extern void init_cursor(void);
  55. extern void set_cursor(long, int);
  56. extern void reset_cursor(long);
  57. extern void set_default_cursor(long, int);
  58. extern void set_cursor_color(int *);
  59. extern void get_cursor_color(int *);
  60. extern int rotate_circle_cursor(long);
  61. extern int make_cursor(int, int);
  62.  
  63. #endif
  64.